<?php 
if($action=="resetskin")
{?>
<script type="text/javascript">
var c=confirm('Click "OK" if you would like to "Reset" this control panel so that it will be reverted to the default values set by the Admin.  Click "Cancel" if you do not want to reset to the default value or if you are not sure.');
if(c)
window.location.assign('skin.php?action=<?php echo $action;?>&site_id=<?php echo $_SESSION['SITE_ID'];?>');
else
window.location.assign('skin.php?site_id=<?php echo $_SESSION['SITE_ID'];?>');
</script>
<?php }
if($action=="resetlogo")
{?>
<script type="text/javascript">
var c=confirm('Click "OK" if you would like to "Reset" this control panel so that it will be reverted to the default values set by the Admin.  Click "Cancel" if you do not want to reset to the default value or if you are not sure.');
if(c)
window.location.assign('logo.php?action=<?php echo $action;?>&site_id=<?php echo $_SESSION['SITE_ID'];?>');
else
window.location.assign('logo.php?site_id=<?php echo $_SESSION['SITE_ID'];?>');
</script>
<?php }

if($action=="resetsettings")
{?>
<script type="text/javascript">
var c=confirm('Warning: This action will reset all your website data to the Admin. Click "OK" only if you are sure to do it. Click "Cancel" if you want the system unchanged or if you are not sure.');
if(c)
window.location.assign('Settings_reset.php?action=<?php echo $action;?>&site_id=<?php echo $_SESSION['SITE_ID'];?>');
else
window.location.assign('settings.php?site_id=<?php echo $_SESSION['SITE_ID'];?>');
</script>
<?php }?>

